package com.hmall.api.client;
/*
  Date: 2023/11/29
  Author: Luochao
  Description:
*/

import com.hmall.api.dto.Order;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("trade-service")
public interface OrderClient {

    @PutMapping("/orders/update/status")
    void updateById(@RequestBody Order order);
}
